projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20b5981
)
[XM] Fix rmlabel filename assignment
author
Alastair Tse
<atse@xensource.com>
Tue, 3 Oct 2006 10:24:48 +0000
(11:24 +0100)
committer
Alastair Tse
<atse@xensource.com>
Tue, 3 Oct 2006 10:24:48 +0000
(11:24 +0100)
The patch fixes a bug in the rmlabel tool.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
tools/python/xen/xm/rmlabel.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xm/rmlabel.py
b/tools/python/xen/xm/rmlabel.py
index 9cfdeae3500edd0dc69aa17c104f93ad0ba1bc4b..997a4f04f3c8b95d6e5a13430f6d6570b12b9f1b 100644
(file)
--- a/
tools/python/xen/xm/rmlabel.py
+++ b/
tools/python/xen/xm/rmlabel.py
@@
-57,7
+57,8
@@
def rm_domain_label(configfile):
fd = None
file = None
if configfile[0] == '/':
- fd = open(configfile, "rb")
+ file = configfile
+ fd = open(file, "rb")
else:
for prefix in [".", "/etc/xen"]:
file = prefix + "/" + configfile